package com.rainbow.micro.example.dao;

import com.rainbow.micro.example.entity.RoleEntity;
import com.rainbow.micro.example.dto.resp.RoleResp;
import com.rainbow.micro.example.dto.req.RoleQueryReq;
import com.rainbow.support.mybatis.common.CommonMapper;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
* role服务接口
* 
* @author rainbow
* 邮箱  1335157415@qq.com
* @date 2022-04-30 15:10:42
*/
@Mapper
@CacheNamespace
public interface RoleMapper extends CommonMapper<RoleEntity> {

    /**
    * 查询列表
    * @param entity 查询入参
    * @return 返回列表
    */
    List<RoleResp> select(RoleQueryReq entity);


}